<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!-- Copyright 1997 The Open Group, All Rights Reserved -->

<title>ins_nwstr</title>
</head><body bgcolor=white>
<center>
<font size=2>
The Single UNIX &reg; Specification, Version 2<br>
Copyright &copy; 1997 The Open Group

</font></center><hr size=2 noshade>
<h4><a name = "tag_002_001_521">&nbsp;</a>NAME</h4><blockquote>
ins_nwstr, ins_wstr, mvins_nwstr, mvins_wstr, mvwins_nwstr, mvwins_wstr,
wins_nwstr, wins_wstr - insert a wide-character string into a window
</blockquote><h4><a name = "tag_002_001_522">&nbsp;</a>SYNOPSIS</h4><blockquote>
<pre><code>

#include &lt;<a href="curses.h.html">curses.h</a>&gt;

int ins_nwstr(const wchar_t *<i>wstr</i>, int <i>n</i>);

int ins_wstr(const wchar_t *<i>wstr</i>);

int mvins_nwstr(int <i>y</i>, int <i>x</i>, const wchar_t *<i>wstr</i>, int <i>n</i>);

int mvins_wstr(int <i>y</i>, int <i>x</i>, const wchar_t *<i>wstr</i>);

int mvwins_nwstr(WINDOW *<i>win</i>, int <i>y</i>, int <i>x</i>, const wchar_t *<i>wstr</i>, int <i>n</i>);

int mvwins_wstr(WINDOW *<i>win</i>, int <i>y</i>, int <i>x</i>, const wchar_t *<i>wstr</i>);

int wins_nwstr(WINDOW *<i>win</i>, const wchar_t *<i>wstr</i>, int <i>n</i>);

int wins_wstr(WINDOW *<i>win</i>, const wchar_t *<i>wstr</i>);
</code>
</pre>
</blockquote><h4><a name = "tag_002_001_523">&nbsp;</a>DESCRIPTION</h4><blockquote>
These functions insert a
<b>wchar_t</b>
character string (as many
<b>wchar_t</b>
characters as will fit on the line) in the current or specified window
immediately before the current or specified position.
<p>
Any non-spacing characters in the string are associated with the first spacing
character in the string that precedes the non-spacing characters.  If the
first character in the string is a non-spacing character, these functions will
fail.
<p>
These functions do not perform wrapping.
These functions do not advance the cursor position.
These functions perform special-character processing.
<p>
The
<i>ins_nwstr()</i>,
<i>mvins_nwstr()</i>,
<i>mvwins_nwstr()</i>
and
<i>wins_nwstr()</i>
functions insert at most <i>n</i> <b>wchar_t</b> characters.  If <i>n</i> is less
than 1, then the entire string is inserted.
</blockquote><h4><a name = "tag_002_001_524">&nbsp;</a>RETURN VALUE</h4><blockquote>
Upon successful completion, these functions return OK.
Otherwise, they return ERR.
</blockquote><h4><a name = "tag_002_001_525">&nbsp;</a>ERRORS</h4><blockquote>
No errors are defined.
</blockquote><h4><a name = "tag_002_001_526">&nbsp;</a>SEE ALSO</h4><blockquote>
<i><a href="curses.h.html">&lt;curses.h&gt;</a></i>.
</blockquote><hr size=2 noshade>
<center><font size=2>
UNIX &reg; is a registered Trademark of The Open Group.<br>
Copyright &copy; 1997 The Open Group
<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]

</font></center><hr size=2 noshade>
</body></html>
